{"ast":null,"code":"/**\n * We trade Map as deps which may change with same value but different ref object.\n * We should make it as hash for deps\n * */\nexport function stringify(obj) {\n  var tgt;\n  if (obj instanceof Map) {\n    tgt = {};\n    obj.forEach(function (v, k) {\n      tgt[k] = v;\n    });\n  } else {\n    tgt = obj;\n  }\n  return JSON.stringify(tgt);\n}","map":{"version":3,"names":["stringify","obj","tgt","Map","forEach","v","k","JSON"],"sources":["/data/messenger.client/node_modules/rc-tabs/es/util.js"],"sourcesContent":["/**\n * We trade Map as deps which may change with same value but different ref object.\n * We should make it as hash for deps\n * */\nexport function stringify(obj) {\n  var tgt;\n\n  if (obj instanceof Map) {\n    tgt = {};\n    obj.forEach(function (v, k) {\n      tgt[k] = v;\n    });\n  } else {\n    tgt = obj;\n  }\n\n  return JSON.stringify(tgt);\n}"],"mappings":"AAAA;AACA;AACA;AACA;AACA,OAAO,SAASA,SAAS,CAACC,GAAG,EAAE;EAC7B,IAAIC,GAAG;EAEP,IAAID,GAAG,YAAYE,GAAG,EAAE;IACtBD,GAAG,GAAG,CAAC,CAAC;IACRD,GAAG,CAACG,OAAO,CAAC,UAAUC,CAAC,EAAEC,CAAC,EAAE;MAC1BJ,GAAG,CAACI,CAAC,CAAC,GAAGD,CAAC;IACZ,CAAC,CAAC;EACJ,CAAC,MAAM;IACLH,GAAG,GAAGD,GAAG;EACX;EAEA,OAAOM,IAAI,CAACP,SAAS,CAACE,GAAG,CAAC;AAC5B"},"metadata":{},"sourceType":"module"}